#ifndef GUI_FONT
#define GUI_FONT

#include "../texture/texture.h"
#include "../core/math/aabbox.h"
#include "../library/ftgl/FTGL/ftgl.h"

/** thank NeHe **/

namespace sleek
{
    namespace gui
    {
        class font
        {
            public:
                font(core::u8*, core::s32);
                font(core::os::stringc ttf);
                ~font();

                void make(core::os::stringc text);
                font* clone();
                //texture::texture* getTextureList();

                void setSize(core::u32);
                void setColor(texture::pixel);
                texture::pixel getColor();
                core::u32 getSize();

                core::math::vector2di getBoxSize();

                void render();
            protected:
                core::os::stringc text, file;
                texture::pixel color;
                core::u32 size;
                font(){}
            private:
                FTFont *fonts;
                GLuint list;
                GLuint texture;
        };
    }
}

#endif
